package person.twj.securitysessionredis.controller;

import jakarta.servlet.http.HttpServletResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import java.io.IOException;

@Controller
@Slf4j
//@RequestMapping("/authentication")
public class AuthenticationController {


    /**
     * 登录页
     * @return
     */
    @GetMapping("/login")
    public String login(HttpServletResponse response) throws IOException {
        return "/login";


    }


}
